package com.itools.core.ucenter.service;

import com.itools.core.ucenter.pojo.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.Map;

public interface UserService extends UserDetailsService {

    SysUser getByUsername(String username);

    /**
     * 验证密码模式的账号和客户端应用
     * @param parameters
     * @return
     */
    boolean verifyUserByPasswordType(Map<String, String> parameters);
}